<?php
echo "{\"description\":\"A rating on a photo, made by a single user\", ";
echo "\"type\":\"object\",";
echo "\"properties\":{";
echo "\"id\":{\"type\":\"number\", \"description\":\"".$ratingID."\"},";
echo "\"value\":{\"type\":\"string\",\"description\":\"".$value."\"},";
echo "\"user\":{\"type\":\"string\",\"description\":\"".$user."\"},";
echo "\"photo\":{\"type\":\"string\",\"description\":\"".$apiKey."\"}"; //id from the photo
echo "}}"
?>